package com.dating.libs.web.services.datingservice;

import java.io.Serializable;
import java.util.Hashtable;

import org.ksoap2.serialization.PropertyInfo;
import org.ksoap2.serialization.SoapObject;

public final class UserProperties extends SoapObject implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 438243347353968723L;

	private java.lang.String name;

    private java.lang.String value;

    public UserProperties() {
        super("", "");
    }
    public void setName(java.lang.String name) {
        this.name = name;
    }

    public java.lang.String getName(java.lang.String name) {
        return this.name;
    }

    public void setValue(java.lang.String value) {
        this.value = value;
    }

    public java.lang.String getValue(java.lang.String value) {
        return this.value;
    }

    public int getPropertyCount() {
        return 2;
    }

    public Object getProperty(int __index) {
        switch(__index)  {
        case 0: return name;
        case 1: return value;
        }
        return null;
    }

    public void setProperty(int __index, Object __obj) {
        switch(__index)  {
        case 0: name = (java.lang.String) __obj; break;
        case 1: value = (java.lang.String) __obj; break;
        }
    }

    @SuppressWarnings("rawtypes")
	public void getPropertyInfo(int __index, Hashtable __table, PropertyInfo __info) {
        switch(__index)  {
        case 0:
            __info.name = "name";
            __info.type = java.lang.String.class; break;
        case 1:
            __info.name = "value";
            __info.type = java.lang.String.class; break;
        }
    }

}
